package com.cans;

/**
 * 经理审批节点 金额小于3000是经理审批
 *
 * @author cans
 * @date 2022/4/26
 **/
public class ManagerApprove extends AbstractApprove {

    public ManagerApprove() {
        this.setLv(MANAGER);
    }

    @Override
    public void approve(String username, Double amount) {
        if (amount < 3000) {
            System.out.println("经理进行审批username: " + username + " amount: " + amount);
        }
    }
}
